FROM ubuntu:22.04
ADD ./jdk/jdk-8u401-linux-x64.tar.gz  /usr/local/java
ENV JAVA_HOME=/usr/local/java/jdk1.8.0_401
ENV CLASSPATH $JAVA_HOME/lib;$JAVA_HOME/jre/lib
ENV PATH $PATH:$JAVA_HOME/bin
COPY ./app/admin-user-center-1.0.0.jar  /
RUN  chmod 777    /admin-user-center-1.0.0.jar
ENTRYPOINT ["java","-jar","/admin-user-center-1.0.0.jar"]










